const { createProxyMiddleware: proxy } = require("http-proxy-middleware");

module.exports = (app) => {
    app.use(
        "/api/index/catelist",
        proxy({
            target: "http://180.76.99.14/",
            changeOrigin: true,
        })
    )
    app.use(
        "/api",
        proxy({
            target: "http://180.76.99.14/",
            changeOrigin: true,
        })
    )
}